{include file="common/head"/}


<script type="application/javascript">
 
</script>
<section id="main-content">
    <section class="wrapper">
        <h3><i class="fa fa-angle-right"></i> 图文管理</h3>
        <div class="row mt">
            <div class="col-lg-12">
                <div class="form-panel">
                    {eq name="error" value="1"}
                    类别不存在
                    {else/}
                
                    <!-- BASIC FORM ELELEMNTS -->
                    <h4 class="mb"><i class="fa fa-angle-right"></i> 类别</h4> 
                    <form class="form-horizontal style-form" method="post" action="save">
                        <div class="form-group">
                            <label class="col-sm-2 col-sm-2 control-label">类别ID</label>
                            <div class="col-sm-10">
                                <input class="form-control" type="text" placeholder="{$id}" value="{$id}" name="id" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 col-sm-2 control-label">类别名称</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" value="{$category.name}" name="name">
                            </div>
                        </div>
                        <button type="submit" class="btn btn-success">保存</button>
                    </form>
                    {/eq}
                </div>
            </div><!-- col-lg-12-->   
        </div><!-- /row -->
    </section><! --/wrapper -->
</section><!-- /MAIN CONTENT -->


<script src="__STATIC__/common/js/bootstrap.min.js"></script> 
<!-- <script src="__ADMIN__/js/fileinput.min.js"></script>  -->
<script src="__ADMIN__/js/vendor/jquery.ui.widget.js"></script>
<script src="__ADMIN__/js/jquery.iframe-transport.js"></script>
<script src="__ADMIN__/js/jquery.fileupload.js"></script>


<!-- <script src="__ADMIN__/js/form-component.js"></script>   -->
<script type="application/javascript">
$(document).ready(function () {

     
});
</script>